//package club.ruanx.spider.controller;
//
//import club.ruanx.mq.common.entity.MessageData;
//import club.ruanx.spider.common.message.SpiderMessageClient;
//import org.springframework.cloud.stream.annotation.EnableBinding;
//import org.springframework.cloud.stream.annotation.StreamListener;
//import org.springframework.stereotype.Component;
//
//
//@Component
//@EnableBinding(SpiderMessageClient.class)
//public class RabbitMessageReceiver {
//
//    @StreamListener(SpiderMessageClient.OUTPUT)
//    public void receive(MessageData spiderMessageData) {
//        System.out.println("在 Spider Server 接受到消息:" + spiderMessageData);
//    }
//}
